<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfGtkBrowserStore</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfgtk-0.4 Reference Manual">
<link rel="up" href="ch01.html" title="libinfgtk API">
<link rel="prev" href="libinfgtk-0.4-inf-gtk-browser-model.html" title="inf-gtk-browser-model">
<link rel="next" href="InfGtkBrowserModelFilter.html" title="InfGtkBrowserModelFilter">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libinfgtk-0.4-inf-gtk-browser-model.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfgtk-0.4 Reference Manual</th>
<td><a accesskey="n" href="InfGtkBrowserModelFilter.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfGtkBrowserStore.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfGtkBrowserStore.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfGtkBrowserStore.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfGtkBrowserStore.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#InfGtkBrowserStore.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="InfGtkBrowserStore">
<a name="InfGtkBrowserStore"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfGtkBrowserStore.top_of_page"></a>InfGtkBrowserStore</span></h2>
<p>InfGtkBrowserStore</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="InfGtkBrowserStore.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="InfGtkBrowserStore.html#InfGtkBrowserStore-struct" title="InfGtkBrowserStore">InfGtkBrowserStore</a>;
<a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="returnvalue">InfGtkBrowserStore</span></a> * <a class="link" href="InfGtkBrowserStore.html#inf-gtk-browser-store-new" title="inf_gtk_browser_store_new ()">inf_gtk_browser_store_new</a>          (<em class="parameter"><code><a href="../libinfinity-0.4/InfIo.html"><span class="type">InfIo</span></a> *io</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfCommunicationManager.html"><span class="type">InfCommunicationManager</span></a> *comm_manager</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfGtkBrowserStore.html#inf-gtk-browser-store-add-discovery" title="inf_gtk_browser_store_add_discovery ()">inf_gtk_browser_store_add_discovery</a> (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfDiscovery.html"><span class="type">InfDiscovery</span></a> *discovery</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfGtkBrowserStore.html#inf-gtk-browser-store-add-connection" title="inf_gtk_browser_store_add_connection ()">inf_gtk_browser_store_add_connection</a>
                                                        (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> *connection</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfGtkBrowserStore.html#inf-gtk-browser-store-remove-connection" title="inf_gtk_browser_store_remove_connection ()">inf_gtk_browser_store_remove_connection</a>
                                                        (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> *connection</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfGtkBrowserStore.html#inf-gtk-browser-store-clear-connection-error" title="inf_gtk_browser_store_clear_connection_error ()">inf_gtk_browser_store_clear_connection_error</a>
                                                        (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> *connection</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="InfGtkBrowserStore.html#inf-gtk-browser-store-set-connection-name" title="inf_gtk_browser_store_set_connection_name ()">inf_gtk_browser_store_set_connection_name</a>
                                                        (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> *connection</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="InfGtkBrowserStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----InfGtkBrowserStore
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="InfGtkBrowserStore.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
InfGtkBrowserStore implements
 <a href="http://library.gnome.org/devel/gtk/unstable/GtkTreeModel.html">GtkTreeModel</a> and  <a class="link" href="libinfgtk-0.4-inf-gtk-browser-model.html#InfGtkBrowserModel">InfGtkBrowserModel</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="InfGtkBrowserStore.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="InfGtkBrowserStore.html#InfGtkBrowserStore--communication-manager" title='The "communication-manager" property'>communication-manager</a>"    <a href="../libinfinity-0.4/InfCommunicationManager.html"><span class="type">InfCommunicationManager</span></a>*  : Read / Write / Construct Only
  "<a class="link" href="InfGtkBrowserStore.html#InfGtkBrowserStore--io" title='The "io" property'>io</a>"                       <a href="../libinfinity-0.4/InfIo.html"><span class="type">InfIo</span></a>*                : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" title="Description">
<a name="InfGtkBrowserStore.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="InfGtkBrowserStore.details"></a><h2>Details</h2>
<div class="refsect2" title="InfGtkBrowserStore">
<a name="InfGtkBrowserStore-struct"></a><h3>InfGtkBrowserStore</h3>
<pre class="programlisting">typedef struct _InfGtkBrowserStore InfGtkBrowserStore;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_store_new ()">
<a name="inf-gtk-browser-store-new"></a><h3>inf_gtk_browser_store_new ()</h3>
<pre class="programlisting"><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="returnvalue">InfGtkBrowserStore</span></a> * inf_gtk_browser_store_new          (<em class="parameter"><code><a href="../libinfinity-0.4/InfIo.html"><span class="type">InfIo</span></a> *io</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfCommunicationManager.html"><span class="type">InfCommunicationManager</span></a> *comm_manager</code></em>);</pre>
<p>
Creates a new <a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>io</code></em> :</span></p></td>
<td>A <a href="../libinfinity-0.4/InfIo.html"><span class="type">InfIo</span></a> object for the created <a href="../libinfinity-0.4/InfcBrowser.html"><span class="type">InfcBrowser</span></a> to schedule timeouts.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>comm_manager</code></em> :</span></p></td>
<td>The <a href="../libinfinity-0.4/InfCommunicationManager.html"><span class="type">InfCommunicationManager</span></a> with which to explore
remote directories.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_store_add_discovery ()">
<a name="inf-gtk-browser-store-add-discovery"></a><h3>inf_gtk_browser_store_add_discovery ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_gtk_browser_store_add_discovery (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfDiscovery.html"><span class="type">InfDiscovery</span></a> *discovery</code></em>);</pre>
<p>
Adds <em class="parameter"><code>discovery</code></em> to <em class="parameter"><code>model</code></em>. The model will then show up discovered
servers.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>store</code></em> :</span></p></td>
<td>A <a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>discovery</code></em> :</span></p></td>
<td>A <a href="../libinfinity-0.4/InfDiscovery.html"><span class="type">InfDiscovery</span></a> not yet added to <em class="parameter"><code>model</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_store_add_connection ()">
<a name="inf-gtk-browser-store-add-connection"></a><h3>inf_gtk_browser_store_add_connection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_gtk_browser_store_add_connection
                                                        (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> *connection</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
This function adds a connection to the <em class="parameter"><code>store</code></em>. <em class="parameter"><code>store</code></em> will show up
an item for the connection if there is not already one. This allows to
browse the explored parts of the directory of the remote site. If <em class="parameter"><code>name</code></em>
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the <a href="../libinfinity-0.4/InfXmlConnection.html#InfXmlConnection--remote-id"><span class="type">"remote-id"</span></a> of the connection will be
used.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>store</code></em> :</span></p></td>
<td>A <a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
<td>A <a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>Name for the item, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_store_remove_connection ()">
<a name="inf-gtk-browser-store-remove-connection"></a><h3>inf_gtk_browser_store_remove_connection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_gtk_browser_store_remove_connection
                                                        (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> *connection</code></em>);</pre>
<p>
This function removes the entry for the given connection from <em class="parameter"><code>store</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>store</code></em> :</span></p></td>
<td>A <a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
<td>A <a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> contained in <em class="parameter"><code>store</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_store_clear_connection_error ()">
<a name="inf-gtk-browser-store-clear-connection-error"></a><h3>inf_gtk_browser_store_clear_connection_error ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_gtk_browser_store_clear_connection_error
                                                        (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> *connection</code></em>);</pre>
<p>
This function clears the error for the entry which belongs to the given
connection.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>store</code></em> :</span></p></td>
<td>A <a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
<td>A <a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> contained in <em class="parameter"><code>store</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_gtk_browser_store_set_connection_name ()">
<a name="inf-gtk-browser-store-set-connection-name"></a><h3>inf_gtk_browser_store_set_connection_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_gtk_browser_store_set_connection_name
                                                        (<em class="parameter"><code><a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a> *store</code></em>,
                                                         <em class="parameter"><code><a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> *connection</code></em>,
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>
This function sets the name of <em class="parameter"><code>connection</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>store</code></em> :</span></p></td>
<td>A <a class="link" href="InfGtkBrowserStore.html" title="InfGtkBrowserStore"><span class="type">InfGtkBrowserStore</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
<td>A <a href="../libinfinity-0.4/InfXmlConnection.html"><span class="type">InfXmlConnection</span></a> contained in <em class="parameter"><code>store</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>The new name to set for the connection.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="InfGtkBrowserStore.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "communication-manager" property'>
<a name="InfGtkBrowserStore--communication-manager"></a><h3>The <code class="literal">"communication-manager"</code> property</h3>
<pre class="programlisting">  "communication-manager"    <a href="../libinfinity-0.4/InfCommunicationManager.html"><span class="type">InfCommunicationManager</span></a>*  : Read / Write / Construct Only</pre>
<p>The communication manager used for browsing remote directories.</p>
</div>
<hr>
<div class="refsect2" title='The "io" property'>
<a name="InfGtkBrowserStore--io"></a><h3>The <code class="literal">"io"</code> property</h3>
<pre class="programlisting">  "io"                       <a href="../libinfinity-0.4/InfIo.html"><span class="type">InfIo</span></a>*                : Read / Write / Construct Only</pre>
<p>The IO object used for the created browsers to schedule timeouts.</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>